{extend name="base"}
{block name="title"}服务器开服列表{/block}
{block name="head"}
<style type="text/css">
.border-table tbody th {text-align: center;}
*{font-size: 13px;}
</style>
{/block}
{block name="body"}
<body class="mainbody">
<form>
    <!--导航栏-->
    <div class="location">
        <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
        <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
        <i class="arrow iconfont icon-arrow-right"></i>
        <span>服务器开服列表</span>
    </div>
    <!--/导航栏-->

    
     <div class="table-container">
        <table class="ltable border-table">
            <tr align="center">
                <th>服务昵称</th>
                <th>权重</th>
                <th>开启时间</th>
                <th>当前时间</th>
                <th colspan="2">开服游戏/昵称</th>
                <th>端口</th>
                <th>链接次数</th>
                

            </tr>
            {empty name="page"}
            <tr><td colspan="10">Oh~暂无数据!</td></tr>
            {else/}
            {volist name="page" id="vv"}
            <tr>
                <td>{$vv.code}</td>
                {volist name='vv.val' id= 'v'}
                <td>{$v.weights}</td>
                <td>{$v.starttimer}</td>
                <td><?php echo date("Y-m-d H:i:s",$v['nowtimer'])?></td>
                <td>
                    <ul>
                        {volist name="v.kindidlist" id="ve"}
                        <li>{$ve}</li>
                        {/volist}
                    </ul>
                </td>   
                <td>
                    <ul>
                        {volist name="v.gamenamecn" id="vve"}
                        <li>{$vve}</li>
                        {/volist}
                    </ul>
                </td>     
                <td>{$v.addr}</td>
                <td>{$v.linknumber}</td>
                {/volist}
             </tr> 
            {/volist}
            {/empty}
        </table>
    </div>
    

    <div class="page-footer"><div class="btn-wrap">{$page->render()}</div></div>

</form>

</body>
{/block}